home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Graphics 2D / Super Snapshot / CarbonPrefix.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-10-06  |  956 b   |  31 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        CarbonPrefix.h
  3.  
  4.     Contains:    #define to use the Carbon API and pascal to c-string functions                                
  5.  
  6.     Written by: JM
  7.  
  8.     Copyright:    Copyright © 1991-1999 by Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17. */
  18.  
  19. #ifndef __CARBONPREFIX__
  20. #define __CARBONPREFIX__
  21.  
  22.  
  23. // Needed for carbonization
  24. #define TARGET_API_MAC_CARBON 1
  25. //
  26.  
  27. // For the pascal to C or C to pascal string conversions in carbon
  28. #define OLDP2C 1
  29. //
  30.  
  31. #endif